﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Weaning.Domain.Dto
{
    public class LambListDto
    {
        /// <summary>
        /// 种母分娩Id
        /// </summary>
        public int ParturitionId { get; set; }

        /// <summary>
        /// 分娩日期
        /// </summary>
        public DateTime DeliveryDate { get; set; }

        /// <summary>
        /// 窝总重
        /// </summary>
        public decimal LitterWeight { get; set; }

        /// <summary>
        /// 转入栋舍
        /// </summary>
        [MaxLength(50)]
        public string? ShiftToBuild { get; set; }

        /// <summary>
        /// 转入栏位
        /// </summary>
        [MaxLength(50)]
        public string? ShiftToHuts { get; set; }

        /// <summary>
        /// 产羔登记主键
        /// </summary>
        [Key]
        public int LambRegistrationId { get; set; }

        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime BirthDate { get; set; }

        /// <summary>
        /// 父亲耳号
        /// </summary>
        [MaxLength(50)]
        public string FatherEar { get; set; }

        /// <summary>
        /// 母亲耳号
        /// </summary>
        [MaxLength(50)]
        public string MotherEar { get; set; }

        /// <summary>
        /// 后裔性别
        /// </summary>
        public bool Sex { get; set; }

        /// <summary>
        /// 后裔耳号
        /// </summary>
        [MaxLength(50)]
        public string EarTag { get; set; }

        /// <summary>
        /// 出生体重(公斤)
        /// </summary>
        public decimal BirthWeight { get; set; }

    }
}
